package com.treasure.service.collocate.service;

import com.treasure.service.collocate.param.GetRankingListParam;
import com.treasure.service.dto.RankingListDto;

import java.util.List;

/**
* @Description:    排行榜统计
* @Author:         panxinwen
* @CreateDate:     2018/12/9 12:27
* @Version:        1.0
*/
public interface GainStatisticsService {


    public List<RankingListDto> getRankingList(Long userId,Integer timeType,Integer dataType);

    public void calculatePrice(Long userId,Integer type,Long price);

    /**
     * Todo 获取我的排名
     * @param userId
     * @param timeType
     * @param dataType
     * @return
     */
    public RankingListDto getMyRanking(Long userId, Integer timeType, Integer dataType);
}
